/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qhq.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 学校排名Entity
 * @author 秦华权
 * @version 2017-11-27
 */
public class SchoolTop extends DataEntity<SchoolTop> {
	
	private static final long serialVersionUID = 1L;
	private String topno;		// 名次
	private String schoolId;		// 学校编号
	private String toptype;		// 类别
	
	public SchoolTop() {
		super();
	}

	public SchoolTop(String id){
		super(id);
	}

	@Length(min=0, max=10, message="名次长度必须介于 0 和 10 之间")
	public String getTopno() {
		return topno;
	}

	public void setTopno(String topno) {
		this.topno = topno;
	}
	
	@Length(min=0, max=64, message="学校编号长度必须介于 0 和 64 之间")
	public String getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	
	@Length(min=0, max=50, message="类别长度必须介于 0 和 50 之间")
	public String getToptype() {
		return toptype;
	}

	public void setToptype(String toptype) {
		this.toptype = toptype;
	}
	
}